package com.my.lucky7;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * Created by gmwang on 2025/4/22
 */
@EnableAsync
@EnableCaching
@SpringBootApplication(scanBasePackages = {"com.my.lucky7"})
@EnableJpaRepositories(basePackages = {"com.my.lucky7.dao"})
@EntityScan(basePackages = "com.my.lucky7.entity")
public class Lucky7SpringbootApplication {
    public static void main(String[] args) {
        SpringApplication.run(Lucky7SpringbootApplication.class, args);
    }
}